body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 15px;
    background-color: #f8f9fa;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

h1 {
    font-size: 18px;
    color: #d32323;
    margin-top: 0;
    margin-bottom: 0;
}

.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    color: #d32323;
}

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

input:focus {
    border-color: #d32323;
    outline: none;
}

.hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 15px;
}

button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s;
}

#startScrape {
    background-color: #d32323;
    color: white;
}

#startScrape:hover {
    background-color: #b61d1d;
}

#pauseResume {
    background-color: #f0ad4e;
    color: white;
}

#pauseResume:hover {
    background-color: #ec971f;
}

#pauseResume:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#exportData {
    background-color: #4CAF50;
    color: white;
}

#exportData:hover {
    background-color: #3e8e41;
}

#exportData:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.status {
    margin-top: 15px;
}

#statusText {
    font-size: 14px;
    text-align: center;
    margin-bottom: 8px;
    color: #666;
}

#progressBar {
    height: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    overflow: hidden;
}

#progressFill {
    height: 100%;
    width: 0%;
    background-color: #d32323;
    transition: width 0.3s;
}

.data-count {
    font-size: 14px;
    text-align: center;
    margin-top: 8px;
    color: #666;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.checkbox-group label {
    display: inline;
    margin-right: 10px;
}

.checkbox-group .hint {
    width: 100%;
    margin-left: 24px;
}